<template>
  <div class="son">
    儿子
    <div>
<!--      默认插槽-->
<!--      <slot></slot>-->
<!--      具名插槽-->
      <slot name="s1"></slot>
      <slot name="s2"></slot>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped>
.son {
  background-color: lightskyblue;
  margin: auto;
  width: 80%;
  height: 90%;
}
</style>

<script lang="ts">
export default {
  name: "Category"
}
</script>